﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace Lilium.Web.Mvc.Metadata
{
	public class EntityMetadataExtension
	{
		public EntityMetadataExtension(EntityKeyDescription entityKey)
		{
			if (entityKey == null) throw new ArgumentNullException("entityKey");

			m_EntityKey = entityKey;
		}

		#region public EntityKeyDescription EntityKey

		private readonly EntityKeyDescription m_EntityKey;

		public EntityKeyDescription EntityKey
		{
			[DebuggerNonUserCodeAttribute]
			get
			{
				return m_EntityKey;
			}
		}

		#endregion
	}
}